<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:background="@drawable/background">
    <TextView android:id="@+id/textView1" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/cheapest_header" android:layout_marginTop="16dp" style="@style/HeaderFont"></TextView>
    <LinearLayout android:id="@+id/linearLayout1" android:layout_height="wrap_content" android:layout_width="fill_parent">
        <LinearLayout android:layout_width="wrap_content" android:layout_height="match_parent" android:orientation="vertical" android:layout_weight="0.5" android:id="@+id/linearLayoutCheapest1" android:paddingLeft="4dp" android:paddingRight="4dp">
            <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:id="@+id/linearLayout2" android:layout_weight="0.5">
                <TextView android:id="@+id/textCheapestItem1" android:layout_weight="0.5" android:text="@string/cheapest_item1" style="@style/SmallHeaderFont" android:layout_width="wrap_content" android:layout_gravity="center"></TextView>
                <ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@drawable/deletebutton" android:src="@android:drawable/ic_delete" android:layout_gravity="center_vertical" android:id="@+id/cheapestDelete1" android:clickable="true" android:onClick="deleteItem1"></ImageView>
            </LinearLayout>
            <TextView android:text="@string/cheapest_amount" android:layout_weight="0.5" android:layout_height="wrap_content" android:layout_width="wrap_content" android:id="@+id/textCheapestAmount1" android:textAppearance="?android:attr/textAppearanceSmall" style="@style/EditHeaderFont"></TextView>
            <EditText android:layout_height="wrap_content" android:id="@+id/editCheapestAmount1" android:inputType="numberDecimal" android:layout_width="fill_parent" android:gravity="right"></EditText>
            <TextView android:text="@string/cheapest_price" android:layout_weight="0.5" android:layout_height="wrap_content" android:layout_width="wrap_content" android:id="@+id/textCheapestPrice1" android:textAppearance="?android:attr/textAppearanceSmall" style="@style/EditHeaderFont"></TextView>
            <EditText android:layout_height="wrap_content" android:id="@+id/editCheapestPrice1" android:inputType="numberDecimal" android:layout_width="fill_parent" android:gravity="right"></EditText>
        </LinearLayout>
        <LinearLayout android:layout_width="wrap_content" android:layout_height="match_parent" android:orientation="vertical" android:layout_weight="0.5" android:id="@+id/linearLayoutCheapest2" android:paddingLeft="4dp" android:paddingRight="4dp">
            <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:id="@+id/linearLayout3" android:layout_weight="0.5">
                <TextView android:id="@+id/textCheapestItem2" android:layout_weight="0.5" android:text="@string/cheapest_item2" style="@style/SmallHeaderFont" android:layout_width="wrap_content" android:layout_gravity="center"></TextView>
                <ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@drawable/deletebutton" android:src="@android:drawable/ic_delete" android:layout_gravity="center_vertical" android:id="@+id/cheapestDelete2" android:onClick="deleteItem2" android:clickable="true"></ImageView>
            </LinearLayout>
            <TextView android:text="@string/cheapest_amount" android:layout_weight="0.5" android:layout_height="wrap_content" android:layout_width="wrap_content" android:id="@+id/textCheapestAmount2" android:textAppearance="?android:attr/textAppearanceSmall" style="@style/EditHeaderFont"></TextView>
            <EditText android:layout_height="wrap_content" android:id="@+id/editCheapestAmount2" android:inputType="numberDecimal" android:layout_width="fill_parent" android:gravity="right"></EditText>
            <TextView android:text="@string/cheapest_price" android:layout_weight="0.5" android:layout_height="wrap_content" android:layout_width="wrap_content" android:id="@+id/textCheapestPrice2" android:textAppearance="?android:attr/textAppearanceSmall" style="@style/EditHeaderFont"></TextView>
            <EditText android:layout_height="wrap_content" android:id="@+id/editCheapestPrice2" android:inputType="numberDecimal" android:layout_width="fill_parent" android:gravity="right"></EditText>
        </LinearLayout>
    </LinearLayout>
    <Button android:layout_gravity="center_horizontal" android:layout_marginTop="16dp" android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/buttonCalculate" android:text="@string/cheapest_button_text" android:onClick="onCalculate" android:textAppearance="@style/EditHeaderFont"></Button>
</LinearLayout>
